package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 试题管理对象 test_questions
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class TestQuestions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private Long topicType;

    /** 题目难度 */
    @Excel(name = "题目难度")
    private Long topicDifficulty;

    /** 归属题库 */
    private String questionBlankId;

    /** 题目内容 */
    @Excel(name = "题目内容")
    private String topicContent;

    /** 试题图片 */
    private String topicPhotos;

    /** 试题解析 */
    private String topicAnalyze;

    /** 是否逻辑删除:0:否,1:是 */
    private Integer isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTopicType(Long topicType) 
    {
        this.topicType = topicType;
    }

    public Long getTopicType() 
    {
        return topicType;
    }
    public void setTopicDifficulty(Long topicDifficulty) 
    {
        this.topicDifficulty = topicDifficulty;
    }

    public Long getTopicDifficulty() 
    {
        return topicDifficulty;
    }
    public void setQuestionBlankId(String questionBlankId) 
    {
        this.questionBlankId = questionBlankId;
    }

    public String getQuestionBlankId() 
    {
        return questionBlankId;
    }
    public void setTopicContent(String topicContent) 
    {
        this.topicContent = topicContent;
    }

    public String getTopicContent() 
    {
        return topicContent;
    }
    public void setTopicPhotos(String topicPhotos) 
    {
        this.topicPhotos = topicPhotos;
    }

    public String getTopicPhotos() 
    {
        return topicPhotos;
    }
    public void setTopicAnalyze(String topicAnalyze) 
    {
        this.topicAnalyze = topicAnalyze;
    }

    public String getTopicAnalyze() 
    {
        return topicAnalyze;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("topicType", getTopicType())
            .append("topicDifficulty", getTopicDifficulty())
            .append("questionBlankId", getQuestionBlankId())
            .append("topicContent", getTopicContent())
            .append("topicPhotos", getTopicPhotos())
            .append("topicAnalyze", getTopicAnalyze())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
